package com.ziyun.pop.modules.messageCenter.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ziyun.pop.modules.messageCenter.entity.MessageCenterEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 图文宝小程序消息中心表;;
 * @author xiaoliang
 * @date 2019/1/07 10:20
 */
public interface MessageCenterDao extends BaseMapper<MessageCenterEntity> {

    /**
     * 通过商户id来查询该商户的用户留言;
     * @param sellerId
     * @return
     */
    List<MessageCenterEntity> queryUserMassageListBySellerId(@Param("sellerId") Long sellerId);


}

